//
//  MemberHeaderFooterView.m
//  Findif
//
//  Created by Mac on 2019/2/27.
//  Copyright © 2019年 Cicel Chen. All rights reserved.
//

#import "MemberHeaderFooterView.h"

@interface MemberHeaderFooterView ()


@end

@implementation MemberHeaderFooterView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        
        [self setupUI];
    }
    return self;
}


- (void)setupUI{
    
    UILabel * titleLabel = [UILabel new];
    
    titleLabel.textColor = [UIColor lightGrayColor];
    titleLabel.font = [UIFont systemFontOfSize:14 * SCREENH6];
    
    self.titleLabel = titleLabel;
    
    [self addSubview:self.titleLabel];
}

- (void)layoutSubviews{
    
    [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.leading.mas_equalTo(self).offset(25 * SCREENH6);
        make.centerY.mas_equalTo(self);
    }];
}

@end
